<?php
/* @var $this BackendController */
/* @var $data User */
?>

<div class="view">
    <table class="table">
        <thead>

        </thead>
        <tbody>
                <tr>
                    <td><b><?php echo CHtml::encode($data->getAttributeLabel('id')); ?>:</b></td>
                    <td><?php echo CHtml::link(CHtml::encode($data->id), array('view', 'id'=>$data->id)); ?></td>
                </tr>
                <tr>
                    <td> <b><?php echo CHtml::encode($data->getAttributeLabel('avatar')); ?>:</b><br /></td>
                    <td> <?php echo CHtml::image('/images/avatar/'.$data->avatar,'avatar',array('style'=>'height:50px','title'=>$data->avatar)); ?></td>
                </tr>
                <tr>
                    <td><b><?php echo CHtml::encode($data->getAttributeLabel('name')); ?>:</b></td>
                    <td><?php echo CHtml::encode($data->name); ?></td>
                </tr>
                <tr>
                    <td><b><?php echo CHtml::encode($data->getAttributeLabel('login')); ?>:</b></td>
                    <td><?php echo CHtml::encode($data->login); ?></td>
                </tr>
                <tr>
                    <td><b><?php echo CHtml::encode($data->getAttributeLabel('email')); ?>:</b></td>
                    <td><?php echo CHtml::encode($data->email); ?></td>
                </tr>
                <tr>
                    <td><b><?php echo CHtml::encode($data->getAttributeLabel('create_time')); ?>:</b></td>
                    <td><?php echo CHtml::encode($data->create_time); ?></td>
                </tr>
                <tr>
                    <td><b><?php echo CHtml::encode($data->getAttributeLabel('update_time')); ?>:</b></td>
                    <td><?php echo CHtml::encode($data->update_time); ?></td>
                </tr>
                <tr>
                    <td><b><?php echo CHtml::encode($data->getAttributeLabel('login_time')); ?>:</b></td>
                    <td><?php echo CHtml::encode($data->login_time); ?></td>
                </tr>
                <tr>
                    <td><b><?php echo CHtml::encode($data->getAttributeLabel('last_login_time')); ?>:</b></td>
                    <td><?php echo CHtml::encode($data->last_login_time); ?></td>
                </tr>
        </tbody>

    <?php /*
    <b><?php echo CHtml::encode($data->getAttributeLabel('create_user_id')); ?>:</b>
    <?php echo CHtml::encode($data->create_user_id); ?>
    <br />

    <b><?php echo CHtml::encode($data->getAttributeLabel('update_user_id')); ?>:</b>
    <?php echo CHtml::encode($data->update_user_id); ?>
    <br />

    <b><?php echo CHtml::encode($data->getAttributeLabel('role')); ?>:</b>
    <?php echo CHtml::encode($data->role); ?>
    <br />

    <b><?php echo CHtml::encode($data->getAttributeLabel('active')); ?>:</b>
    <?php echo CHtml::encode($data->active); ?>
    <br />

	*/ ?>
    </table>
</div>